﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UIDirectionControl1 : MonoBehaviour
{
    public bool m_UseRelativeRotation = true;
    Quaternion m_RelativeRotation;

    private void Start()
    {
        m_RelativeRotation = transform.transform.localRotation;
    }

    private void Update()
    {
        if (m_UseRelativeRotation)
        {
            transform.localRotation = m_RelativeRotation;
        }
    }

}
